package com.zhss.springbootdemo01;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @ClassName InitAction
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/2/6 17:20
 * @Version 1.0
 */
@Component
@Slf4j
public class InitAction implements CommandLineRunner {
	@Override
	public void run(String... args) throws Exception {
//		System.out.println("先执行初始化动作");
		log.info("初始化动作1");
	}
}
